
from Global import *


# 定义表
class User(Base):
    __tablename__ = 'users'
    id = Column(Integer, primary_key=True)
    name = Column(String(32))
    age = Column(Integer)

# 创建表
Base.metadata.create_all(engine)